package com.xhsj.user.sms.purchase.query;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author: liuqinghua
 * @Description: 期款申请
 * @Data:2020/5/25
 */
@Data
public class PaymentQuerySms extends PurchaseOrderQuerySms {

//    private Integer badRecords;//物料不良记录 0无 1有

//    @NotNull(message = "installmentProportion期款比例不能为空")
    private Integer installmentProportion; //期款比例

    /**
     * 支付申请id
     */
    private String payMentId;
    /**
     * 付款金额
     */
//    @NotNull(message = "paymentMoney付款金额不能为空")
    private BigDecimal paymentMoney;

   //总金额
    private BigDecimal totalMoney;

    /**
     * 批次 0 全款 1 预付款 2 二期款 3 尾款
     */
    @NotNull(message = "批次batch不能为空")
    private Integer batch;

    private List<PurchaseOrderOtherFileQuery> purchaseOrderOtherFileQuery;

    private Integer type; //0 报检单  2 入库 4 付款  6调整期款单据说明

}
